#ifndef UTEXTBUTTON
#define UTEXTBUTTON
#include "../stdafx.h"
#include "../UCallBack.h"
#include "../UGLFont.h"
#include "UButton.h"


class TTextButton: public TButton
{
private:
	TGLFontRef Font;
public:
	std:: string Text;
	TTextButton(std:: string text, TGLFontRef font, TRectangle rect);
	virtual void Draw();
};

#endif
